package com.wxjfkg.workflow.dao;

import java.util.List;

import com.fivestar.workflow.CmsUser;

public interface CmsUserDao {

	public CmsUser queryUserByUserName(CmsUser user);
	
	public List<String> selectAreaManager(CmsUser user);

	/**
	 * 判断用户是否是大区经理
	 * @param user
	 * @return
	 */
	public Integer isDqjlRole(CmsUser user);

	/**
	 * 根据roleCode获取用户的userName
	 * @param roleCode
	 * @return
	 */
	public List<String> queryUserByRole(String roleCode);

	public List<CmsUser> queryCmsUserByRole(String roleName);
	
}
